package cn.jd.pet.service.impl;

import cn.jd.pet.domain.PetDetail;
import cn.jd.pet.mapper.PetDetailMapper;
import cn.jd.pet.service.IPetDetailService;
import cn.jd.basic.service.impl.BasicServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jd
 * @since 2022-10-28
 */
@Service
public class PetDetailServiceImpl extends BasicServiceImpl<PetDetail> implements IPetDetailService {
    @Autowired
    private PetDetailMapper mapper;
    @Override
    public PetDetail getDetailByPetId(Long petId) {
        return mapper.getDetailByPetId(petId);
    }
}
